3.71 \(\int \sqrt{b \cos (c+d x)} \, dx\)

Optimal. Leaf size=38 \[ \frac{2 E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}} \]

[Out]

(2*Sqrt[b*Cos[c + d*x]]*EllipticE[(c + d*x)/2, 2])/(d*Sqrt[Cos[c + d*x]])

________________________________________________________________________________________

Rubi [A]  time = 0.0200229, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {2640, 2639} \[ \frac{2 E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[b*Cos[c + d*x]],x]

[Out]

(2*Sqrt[b*Cos[c + d*x]]*EllipticE[(c + d*x)/2, 2])/(d*Sqrt[Cos[c + d*x]])

Rule 2640

Int[Sqrt[(b_)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[b*Sin[c + d*x]]/Sqrt[Sin[c + d*x]], Int[Sqrt[Si
n[c + d*x]], x], x] /; FreeQ[{b, c, d}, x]

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rubi steps

\begin{align*} \int \sqrt{b \cos (c+d x)} \, dx &=\frac{\sqrt{b \cos (c+d x)} \int \sqrt{\cos (c+d x)} \, dx}{\sqrt{\cos (c+d x)}}\\ &=\frac{2 \sqrt{b \cos (c+d x)} E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)}}\\ \end{align*}

Mathematica [A]  time = 0.022751, size = 38, normalized size = 1. \[ \frac{2 E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b*Cos[c + d*x]],x]

[Out]

(2*Sqrt[b*Cos[c + d*x]]*EllipticE[(c + d*x)/2, 2])/(d*Sqrt[Cos[c + d*x]])

________________________________________________________________________________________

Maple [B]  time = 1.457, size = 142, normalized size = 3.7 \begin{align*} 2\,{\frac{\sqrt{b \left ( 2\, \left ( \cos \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}b\sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}\sqrt{-2\, \left ( \cos \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}+1}{\it EllipticE} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ) }{\sqrt{-b \left ( 2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}- \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2} \right ) }\sin \left ( 1/2\,dx+c/2 \right ) \sqrt{b \left ( 2\, \left ( \cos \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1 \right ) }d}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*cos(d*x+c))^(1/2),x)

[Out]

2*(b*(2*cos(1/2*d*x+1/2*c)^2-1)*sin(1/2*d*x+1/2*c)^2)^(1/2)*b*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+1/2
*c)^2+1)^(1/2)*EllipticE(cos(1/2*d*x+1/2*c),2^(1/2))/(-b*(2*sin(1/2*d*x+1/2*c)^4-sin(1/2*d*x+1/2*c)^2))^(1/2)/
sin(1/2*d*x+1/2*c)/(b*(2*cos(1/2*d*x+1/2*c)^2-1))^(1/2)/d

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \cos \left (d x + c\right )}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*cos(d*x+c))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*cos(d*x + c)), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b \cos \left (d x + c\right )}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*cos(d*x+c))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(b*cos(d*x + c)), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \cos{\left (c + d x \right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*cos(d*x+c))**(1/2),x)

[Out]

Integral(sqrt(b*cos(c + d*x)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \cos \left (d x + c\right )}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*cos(d*x+c))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*cos(d*x + c)), x)